package edu.zut.cs.software.perfect.manage.service.impl;

import javax.transaction.Transactional;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import edu.zut.cs.software.perfect.base.service.impl.GenericManagerImpl;

import edu.zut.cs.software.perfect.course.domain.CourseCategory;
import edu.zut.cs.software.perfect.course.domain.CourseInformation;
import edu.zut.cs.software.perfect.manage.dao.InternalDateDao;
import edu.zut.cs.software.perfect.manage.domain.InternalDate;
import edu.zut.cs.software.perfect.manage.service.InternalDateManager;
import edu.zut.cs.software.perfect.teacher.domain.Department;

/**
 * @ClassName InternalDateManagerImpl
 * @Description TODO
 * @Author wst
 * @Date 2020年5月29日 下午11:09:21
 * @Version 1.0
 */
@Service("internalDateManager")
@Transactional
public class InternalDateManagerImpl extends GenericManagerImpl<Long, InternalDate> implements InternalDateManager {

	 InternalDateDao internalDateDao;
	
	
	/**
	 * 
	 * @param internalDateDao
	 */
	@Autowired
	public void setInternalDateDao(InternalDateDao internalDateDao) {
		this.internalDateDao = internalDateDao;
		this.dao=internalDateDao;
	}

	/**
	 * echo
	 */
	@Override
	public InternalDate echo(InternalDate message) {
		// TODO Auto-generated method stub
		CourseCategory courseCategory=new CourseCategory();
		courseCategory.setCategoryName("工科");
		
		
		String entityName=new String("教师");
		
		Department department=new Department();
		department.setDepartmentName("计算机学院");
		
		message.setCourseCategory(courseCategory);  
		message.setEntityName(entityName);  
		message.setDepartment(department);
		return message;

	}
	
	@Override
	public CourseCategory add_cc() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public CourseInformation add_ci() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public CourseCategory delete_cc() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public CourseInformation delete_ci() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public CourseCategory change_cc() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public CourseInformation change_ci() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public CourseCategory find_cc() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public CourseInformation find_ci() {
		// TODO Auto-generated method stub
		return null;
	}


}
